#!/bin/bash



if [ -e $PWD/session.public ]; then
	rm session
	rm session.public
fi

ssh-keygen -t rsa -b 4096 -m PEM -f session                                                                                                  
sleep 1                                                                                                                                      
ssh-keygen -f session.pub -e -m PKCS8 > session.public                                                                                            
sleep 1                                                                                                                                      
rm -r session.pub   

